import service from '@/utils/request';
import { findUrl } from '../globleApiSetting/globleApiSetting';
const apiName = 'selectApis'


/**
 * 查询通用字典数据接口
 * @param params 
 * @returns 
 */
export function GetGeneralDictList(params: any) {
    const api = findUrl(apiName, '/itf/general/web/dict/data');
    return service({
        url: api?.selectApis,
        method: api?.methods,
        params
    })

}

/**
 * 查询通用字典数据接口
 * @param params 
 * @returns 
 */
export function GetCountryList(params: any) {
    const api = findUrl(apiName, '/itf/general/web/');
    return service({
        url: api?.selectApis + params,
        method: api?.methods
    })

}